<template>
<!-- $attrs,$listerners，inheritAttrs  -->
  <div>
    <child-dom :foo="foo" :coo="coo" v-on:upRocket="reciveRocket"> </child-dom>
  </div>
</template>
<script>
import childDom from "./components/ChildDom.vue";
export default {
  name: "demoNo",
  data() {
    return {
      foo: "Hello, world",
      coo: "Hello,rui",
    };
  },
  components: { childDom },
  methods: {
    reciveRocket() {
      console.log("reciveRocket success");
    },
  },
};
</script>

<style></style>
